﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Xml;
using Runda.CMS.Common.Utility;

namespace Runda.CMS.Common.Entity
{
    [Serializable]
    [TableName("Cms_Wsm_InstrumentRecord")]
    public partial class WsmInstrumentRecordEntity : EntityBase
    {

        #region 构造函数
        ///<summary>
        ///
        ///</summary>
        public WsmInstrumentRecordEntity()
            : this(Guid.NewGuid())
        {
        }

        public WsmInstrumentRecordEntity(Guid RecordID)
        {
            this.RecordID = RecordID;
        }


        #endregion

        #region 字段

        ///<summary>
        ///
        ///</summary>	
        private Guid _RecordID;

        ///<summary>
        ///
        ///</summary>	
        private Guid _InstrumentID;

        private DateTime _RecordDate;
        ///<summary>
        ///
        ///</summary>	
        private decimal _TotalNum;

        ///<summary>
        ///
        ///</summary>	
        private decimal _DailyNum;

        private Guid _Recorder;

        ///<summary>
        ///
        ///</summary>	
        private Guid _MaintainID;

        ///<summary>
        ///
        ///</summary>	
        private bool _Deleted;

        ///<summary>
        ///
        ///</summary>	
        private Guid _CreatedBy;


        private DateTime _CreatedOn;

        private int _ReadNumType;

        private Guid _CustomerID;

        private String _SerialNum;
        #endregion

        #region 公共属性


        ///<summary>
        ///
        ///</summary>
        [PrimaryKey]
        public Guid RecordID
        {
            get { return _RecordID; }
            set { _RecordID = value; }
        }

        ///<summary>
        ///
        ///</summary>
        public Guid InstrumentID
        {
            get { return _InstrumentID; }
            set { _InstrumentID = value; }
        }

        ///<summary>
        ///
        ///</summary>
        public DateTime RecordDate
        {
            get { return _RecordDate; }
            set { _RecordDate = value; }
        }

        ///<summary>
        ///
        ///</summary>
        public decimal TotalNum
        {
            get { return _TotalNum; }
            set { _TotalNum = value; }
        }

        ///<summary>
        ///
        ///</summary>
        public decimal DailyNum
        {
            get { return _DailyNum; }
            set { _DailyNum = value; }
        }

        ///<summary>
        ///
        ///</summary>
        public Guid Recorder
        {
            get { return _Recorder; }
            set { _Recorder = value; }
        }

        ///<summary>
        ///
        ///</summary>
        public Guid MaintainID
        {
            get { return _MaintainID; }
            set { _MaintainID = value; }
        }

        public bool Deleted
        {
            get { return _Deleted; }
            set { _Deleted = value; }
        }

        public Guid CreatedBy
        {
            get { return _CreatedBy; }
            set { _CreatedBy = value; }
        }

        public DateTime CreatedOn
        {
            get { return _CreatedOn; }
            set { _CreatedOn = value; }
        }

        public int ReadNumType
        {
            get { return _ReadNumType; }
            set { _ReadNumType = value; }
        }

        public String SerialNum
        {
            get { return _SerialNum; }
            set { _SerialNum = value; }
        }

        public Guid CustomerID {
            get { return _CustomerID; }
            set { _CustomerID = value; }
        }


        #endregion
    }
}
